#ifndef _CALLBACKS_H_
#define _CALLBACKS_H_


void connect_pub_callback (struct mosquitto *mosq, void *obj, int rc);
void connect_sub_callback(struct mosquitto *mosq,void *obj,int mid,int qos_count,const int *granted_qos);
void connect_message_callback(struct mosquitto *mosq,void *obj,const  struct mosquitto_message *msg);
void connect_disconnect_callback(struct mosquitto *mosq,void *obj,int rc);
#endif
